<%@page import="java.util.Enumeration"%>
<%@page import="java.util.Hashtable"%><html>

<%			
Hashtable errors = (Hashtable) request.getAttribute("error");
 
%>



<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Web Studio</title>

	<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/main.css">
<script language="javascript"
	SRC="<%=request.getContextPath()%>/js/login.js" type="text/javascript"></script>
<script language="javascript"
	SRC="<%=request.getContextPath()%>/js/Common.js" type="text/javascript">
</script>
<link href="<%=request.getContextPath()%>/css/form.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-color: #fff" onload="document.getElementById('vendorCode').focus();">

<form action="login.do" method="post" name="loginform">
<input type="hidden" name="pageId" value="1" />
<input type="hidden" name="eventId" value="1"/>
<center>
<div id="login_div">

<% 
if(errors != null && errors.size() > 0){ 
String returnPath = (String) errors.get("error");
	if (returnPath == null){
		returnPath = "";
	}else{ %>
<div id="loginErrMsgs" class="errormsg" style="width: 88%">
	<%= returnPath %>
</div>		
<% }
}
%>

<div id="login-inner">
<center>
<h1>Sign in to PMS <br />

</h1>
</center>
<table width="73%" border="0" align="center" cellpadding="3"
	cellspacing="3">
	<tr>
		<td width="50%" align="left" class="td_font">Vendor Code:</td>
		<td width="50%" class="td_font"><input type="text"  id="vendorCode" name="vendorCode" size="20" value=""/></td>
	</tr>
	<tr>
		<td align="left" class="td_font">User ID:</td>
		<td class="td_font" ><input type="text"  id="loginId" name="login"	size="20" value=""/></td>
	</tr>
	<tr>
		<td align="left" class="td_font">Password:</td>
		<td class="td_font"><input type="password" name="password" id="password" size="20" value=""/></td>
	</tr>
	<tr>
		<td class="td_font">&nbsp;</td>
		<td class="td_font"><button type="submit" class="form_bttn" onclick="return loginValidator();">Submit</button></td>
	</tr>
</table>

</div>

</div>
</center>
</form>
</body>

</html>
